package cn.jly.mybatis.mapper;

import cn.jly.mybatis.bean.Employee;

import java.util.List;

/**
 * @author lanyangji
 * @description mybatis高级属性测试
 * @date 2020/11/17 上午 10:03
 */
public interface EmployeeMapperPlus {
    Employee selectByIdSimple(long id);

    Employee selectById(long id);

    /**
     * 分步查询
     *
     * @param id
     * @return
     */
    Employee selectByStep(long id);

    List<Employee> selectByDeptId(long deptId);

    List<Employee> selectBylastNameLikeAndDiscriminator(String lastName);
}
